package com.wave.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * NG记录视图对象 sys_ng_record
 *
 * @author wave
 * @date 2024-10-12
 */
@Data
@ExcelIgnoreUnannotated
public class SysNgRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 任务类型 0-工装板任务, 1-工装架任务
     */
    @ExcelProperty(value = "任务类型 0-工装板任务, 1-工装架任务")
    private Integer taskType;

    /**
     * 产品SN/工装架SN
     */
    @ExcelProperty(value = "产品SN/工装架SN")
    private String sn;

    /**
     * NG原因
     */
    @ExcelProperty(value = "NG原因")
    private String ngReason;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
